<%@ page contentType="text/html; charset=UTF-8" language="java"%>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<%@ page import="com.util.SessionUtils"%>
<html>
<head>
<title><bean:message key="login.title"/></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type=text/css>
<!--
.sec1 { 
    background-image:   url("../style/images/bg_top1.gif");
    cursor: hand;
    color: #000000;
	font:normal 12px 宋体; 
}
.sec2 { 
    background-image:   url("../style/images/bg_top2.gif");
    cursor: hand;
    color: #000000;
	font:normal 12px 宋体; 
 }
td {
    font:normal 12px 宋体; 
    color:  black;
}
td a{
    font:normal 12px 宋体; 
    color:  black;
}
a.white:link {font:normal 12px 宋体; color:#FFFFFF; text-decoration: none} 
a.white:visited {font:normal 12px 宋体; color:#FFFFFF; text-decoration: none} 
a.white:hover {font:normal 12px 宋体; color:#00FFFF; text-decoration: none}
a:link {font:normal 12px 宋体; color:#000000; text-decoration: none} 
a:visited {font:normal 12px 宋体; color:#000000; text-decoration: none} 
a:hover {font:normal 12px 宋体; color:#0077cc; text-decoration: none;}

-->
</style>

<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>

<script language=javascript>
function secBoard(n)
{
   for(i=0;i<secTable.cells.length;i++)
   secTable.cells[i].className="sec1";
   secTable.cells[n].className="sec2";
}	
</script>
<body text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('../style/images/bg_top1.gif','../style/images/bg_top2.gif')">
<div id="divTop1" style=" width:100%; height:68px; BACKGROUND-POSITION: right center; BACKGROUND-IMAGE: url(../style/images/top_2.gif); BACKGROUND-REPEAT: no-repeat ">
    <div style=" width:100%; height:68px; text-align:right; padding-top:5px; BACKGROUND-POSITION: left center; BACKGROUND-IMAGE: url(../style/images/top_1.jpg); BACKGROUND-REPEAT: no-repeat ">
	    <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
			<TR>
				<TD ALIGN="center" style="height:8px"></TD>
				<TD ALIGN="center"></TD>
				<TD ALIGN="center"></TD>
				<TD ALIGN="center"></TD>
				<TD ALIGN="center"></TD>
				<TD ALIGN="center"></TD>
			</TR>
			<TR>
				<TD ALIGN="center"><a href="blank.html" target="mainFrame"><img src="../style/images/IconHomepage.gif" width="30" height="30" border="0"></a></TD>
				<TD ALIGN="center" style="WIDTH:25px"></TD>
				<TD ALIGN="center"><a href="#" target="_top" onClick="return false;"><img src="../style/images/IconHelp.gif" width="30" height="30"  border="0"></a></TD>
				<TD ALIGN="center" style="WIDTH:25px"></TD>
				<TD ALIGN="center"><a href="#" target="_top" onClick="return false;"><img src="../style/images/IconExit.gif" width="30" height="30"  border="0"></a></TD>
				<TD ALIGN="center" style="WIDTH:30px"></TD>
			</TR>
			<TR>
				<TD ALIGN="center" style="height:3px"></TD>
				<TD ALIGN="center"></TD>
				<TD ALIGN="center"></TD>
				<TD ALIGN="center"></TD>
				<TD ALIGN="center"></TD>
				<TD ALIGN="center"></TD>
			</TR>
			<TR>
				<TD ALIGN="center"><a href="blank.html" target="mainFrame"><bean:message key="index.funname"/></a></TD>
				<TD ALIGN="center"></TD>
				<TD ALIGN="center"><a href="#" target="_top" onClick="return false;"><bean:message key="index.help"/></a></TD>
				<TD ALIGN="center"></TD>
				<TD ALIGN="center"><a href="../logout.do" target="_parent"><bean:message key="index.logout"/></a></TD>
				<TD ALIGN="center"></TD>
			</TR>
		</TABLE>
	</div>
</div>
<div style="width:100%; height:26px; BACKGROUND-POSITION: left center; BACKGROUND-IMAGE: url(../style/images/bg_top1.gif); BACKGROUND-REPEAT: repeat-x;BORDER-LEFT: #5378C9 1px solid;BORDER-Right: #5378C9 1px solid;">
<TABLE WIDTH="100%" HEIGHT="26" ALIGN="left" BORDER="0" CELLSPACING="0" CELLPADDING="0">
	<TR>
		<TD ALIGN="left" NOWRAP width="70" height="26" style="padding-top:2px;">
			<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
				<TR>
					<TD ALIGN="right" NOWRAP style="width:4px;"></TD>
					<TD ALIGN="right" NOWRAP style="width:28px;"><img src="../style/images/WrapTop.gif" border="0" title=<bean:message key="index.toppanel"/> style="cursor:hand"
							onclick="WrapTop()"></TD>
					<TD ALIGN="right" NOWRAP style="width:28px"><img src="../style/images/WrapLeft.gif" border="0" title=<bean:message key="index.leftpanel"/> style="cursor:hand"
							onclick="WrapLeft()"></TD>
				</TR>
			</TABLE>
		</TD>
	  <TD ALIGN="left" NOWRAP width="100%" height="26">
		<table border="0" cellspacing="0" cellpadding="0" id=secTable >
			<tr>

	        </tr>
		</table>
	  </TD>
		<TD ALIGN="left" NOWRAP width="45" height="26">
			<img src="../style/images/bg_top3.gif" border="0">
		</TD>
	</TR>
</TABLE>
</div>
</body>
<script language="javascript">
function dispdate(){		
			var now = new Date();
			var yy = now.getYear();			
			var mt = now.getMonth() + 1;
			var dd = now.getDate();			
			var weekVal = now.getDay();
			var msg = "";
			var locale = "<%=SessionUtils.getLocale(request)%>";
			if("zh"==locale){
				switch( weekVal ){
				case 0: msg="星期日"; break;
				case 1: msg="星期一"; break;
				case 2: msg="星期二"; break;
				case 3: msg="星期三"; break;
				case 4: msg="星期四"; break;
				case 5: msg="星期五"; break;
				case 6: msg="星期六"; break;
				default: msg=""; break;
				}			
				top.window.status=" "+ yy +"年"+ mt +"月"+""+ dd +"日  "+ msg +" ";
			}else{
				switch( weekVal ){
				case 0: msg="Sunday"; break;
				case 1: msg="Monday"; break;
				case 2: msg="Tuesday"; break;
				case 3: msg="Wednesday"; break;
				case 4: msg="Thursday"; break;
				case 5: msg="Firday"; break;
				case 6: msg="Saturday"; break;
				default: msg=""; break;
				}			
				top.window.status=" "+ mt +"-"+ dd +"-"+""+ yy +"  "+ msg +" ";
			}					 
			
		}	
dispdate();
</script>
<script language="javascript" type="text/javascript">
//向上展开折叠
function WrapTop()
{
	var objTop = event.srcElement;
	if (objTop)
	{
		if (objTop.src.toString().indexOf("WrapTop") != -1)
		{
			objTop.src = "../style/images/WrapBottom.gif";
			top.window.FrmOuter.rows = "26,*";
			document.getElementById("divTop1").style.display = "none";
		}
		else
		{
			objTop.src = "../style/images/WrapTop.gif";
			top.window.FrmOuter.rows = "94,*";
			document.getElementById("divTop1").style.display = "block";
		}
	}
}
//向左展开折叠
function WrapLeft()
{
	var objLeft = event.srcElement;
	if (objLeft)
	{
		if (objLeft.src.toString().indexOf("WrapLeft") != -1)
		{
			objLeft.src = "../style/images/WrapRight.gif";
			window.parent.CLIENTFRAMESET.cols = "0,*";
		}
		else
		{
			objLeft.src = "../style/images/WrapLeft.gif";
			window.parent.CLIENTFRAMESET.cols = "150,*";
		}
	}
}
</script>
</html>